package com.platform.omp.OperationalModule.customerInjure.dao;

import com.platform.omp.OperationalModule.customerInjure.entity.DCustomerinjure;
import com.platform.omp.OperationalModule.customerInjure.entity.HrOrgDept;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

import java.util.List;

@Repository
@Mapper
public interface HrOrgDeptDao {
    int deleteByPrimaryKey(String deptNo);

    int insert(HrOrgDept record);

    int insertSelective(HrOrgDept record);

    HrOrgDept selectByPrimaryKey(String deptNo);

    int updateByPrimaryKeySelective(HrOrgDept record);

    int updateByPrimaryKey(HrOrgDept record);

    List<HrOrgDept> selectHrOrgDeptList();

    /**
     * 分页条件查询客伤列表
     *
     * @param injure
     * @return
     */
    List<DCustomerinjure> queryInjurePage(@Param("injure") DCustomerinjure injure);

    DCustomerinjure queryCustomerInjureId(long id);
}